package com.yangjie.common.service;

import java.util.LinkedList;
import java.util.List;


public class Languages {
	public static final String LANG_ZH = "zh";
	public static final String LANG_EN = "en";
	private String defaultLanguage = null;
	private List<String> supportedLanguages = new LinkedList<String>();
	
	public void setSupportedLanguages(List<String> supportedLanguages) {
		this.supportedLanguages = supportedLanguages;
	}
	public String getDefaultLanguage() {
		return defaultLanguage;
	}
	public void setDefaultLanguage(String defaultLanguage) {
		this.defaultLanguage = defaultLanguage;
	}
	public static String getLangZh() {
		return LANG_ZH;
	}
	public static String getLangEn() {
		return LANG_EN;
	}
	
	public List<String> getSupportedLanguages() {
		return supportedLanguages;
	}

}
